package com.ok.common.domain.po;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName CartoonDoc
 * @Description es
 * @Author hw
 * @Date 2024/5/14 15:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(description = "漫画索引库实体")
public class CartoonDoc implements Serializable {

    @ApiModelProperty("漫画id")
    private String id;

    @ApiModelProperty("漫画名")
    private String name;

    @ApiModelProperty("漫画封面")
    private String cover;

    @ApiModelProperty("漫画简介")
    private String synopsis;

    @ApiModelProperty("漫画作者")
    private String author;

    @ApiModelProperty("国家id")
    private Integer areaId;

    @ApiModelProperty("分类id")
    @JsonProperty("categoryId")
    private String categoryId;

    @ApiModelProperty("访问次数")
    private Integer viewNum;

    @ApiModelProperty("收藏次数")
    private Integer collectNum;

    @ApiModelProperty("链接")
    private String link;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;
}
